﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BLLLaguzziCandidato
{
    public class BLLUsuario:BLLGenerico
    {
        public BLLUsuario(LaguzziDataContext context) : base(context) { }
        public BLLUsuario() : this(new LaguzziDataContext()) { }

        public bool Validar(string email)
        {
            return Context.Lagu_Usuarios.Where(u => u.Email.ToLower().Equals(email.ToLower())).Count() > 0;
        }
    }
}
